package com.wish.controller;


import com.wish.dto.BatchDetailDto;
import com.wish.entity.TCwCheckBatchDetail;
import com.wish.service.ITCwCheckBatchDetailService;
import com.wish.vo.ResultEntity;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 对账批次明细表（保存对账结果明细的表） 前端控制器
 * </p>
 *
 * @author 五组
 * @since 2021-04-10
 */
@RestController
@RequestMapping("/wish/t-cw-check-batch-detail")
public class TCwCheckBatchDetailController {
    @Resource
    private ITCwCheckBatchDetailService batchDetailService;
    @RequestMapping("selects")
    public ResultEntity selectBatch(BatchDetailDto batchDetailDto){
        List<TCwCheckBatchDetail> list = batchDetailService.selectBath(batchDetailDto);
        return ResultEntity.ok("200","查询成功",list);
    }

}
